package com.stylefeng.guns.modular.bigSrceen.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.stylefeng.guns.modular.area.model.BdapSubareaPopPropHm;
import com.stylefeng.guns.modular.map.model.MyTimeType;

/**
 * 区域大屏Dao
 *
 * @author polly
 * @Date 2018-3-1 15:14:51
 */
public interface SubareaPopHmDao extends BaseMapper<BdapSubareaPopPropHm>{

	List<BdapSubareaPopPropHm> selectCellDataHmList(@Param("areaId")String areaId,@Param("subAreaId")String subAreaId,@Param("maxTime")String maxTime);
	List<BdapSubareaPopPropHm> selectMaxDayTime(MyTimeType mytimeType);// 查找最近一天的日期精确到天
	List<BdapSubareaPopPropHm> selectMaxHourTime(MyTimeType mytimeType);// 查找最近一天的日期精确到天
	List<BdapSubareaPopPropHm> selectHistoryNumLineByTime(MyTimeType mytimeType);// 历史人数统计
	List<BdapSubareaPopPropHm> selectAgePieByTime(MyTimeType mytimeType);// 用户年龄段分布
	List<BdapSubareaPopPropHm> selectInnerNumsTime(MyTimeType mytimeType);// 省内用户数统计
	List<BdapSubareaPopPropHm> selectSexByTime(MyTimeType mytimeType);// 性别统计
	List<BdapSubareaPopPropHm> selectOutsideUsersByTime(MyTimeType mytimeType);// 省外用户统计
	List<BdapSubareaPopPropHm> selectPopulationDisByTime(MyTimeType mytimeType);// 人口分布统计
}
